import request from '@/router/axios';

/**
 * 政策采集清单列表数据
 *
 */
export const getList = (current, size, params) => {
  return request({
    url: '/policy/collect/page',
    method: 'POST',
    params: {
      ...params,
      current,
      size,
    }
  })
}

/**
 * 添加政策采集清单
 * @param row
 */
export const add = (row) => {
  return request({
    url: '/policy/collect/add',
    method: 'post',
    data: row
  })
}

/**
 * 更新政策采集清单
 * @param row
 */
export const update = (row) => {
  return request({
    url: '/policy/collect/update',
    method: 'post',
    data: row
  })
}

/**
 * 删除政策采集清单
 * @param row
 */
export const remove = (row) => {
  return request({
    url: '/policy/collect/remove',
    method: 'post',
    data: row
  })
}